import request from '@/utils/request'

// 离职交接结算分页查询
export function getList(params) {
  return request({
    url: '/management/personal/dimissionClose/selectPage',
    method: 'POST',
    params
  })
}

// 修改查询
export function selectDimissionClose(params) {
  return request({
    url: '/management/personal/dimissionClose/findId',
    method: 'POST',
    params
  })
}

// 添加
export function insertDimissionClose(data) {
  return request({
    url: '/management/personal/dimissionClose/insert',
    method: 'POST',
    data
  })
}

// 修改
export function updateDimissionClose(data) {
  return request({
    url: '/management/personal/dimissionClose/update',
    method: 'post',
    data
  })
}

// 删除
export function delDimissionClose(data) {
  return request({
    url: '/management/personal/dimissionClose/del',
    method: 'POST',
    data
  })
}

// 模糊查询团队下拉信息
export function selectTeam(params) {
  return request({
    url: '/administrative/teams/getTeamIdAndNameListByName',
    method: 'post',
    params
  })
}

